package com.huanyang.redis.init;

import org.springframework.stereotype.Component;

@Component
public abstract class AbstractCache {

    public void initCache() {}

    public <T> T getCache(String key) {
        return null;
    }

    public void clearCache() {}

    public void reloadCache() {
        clearCache();
        initCache();
    }
}
